projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ffed6e8
)
(Text Lines): Don't add -1 in current-line.
author
Richard M. Stallman
<rms@gnu.org>
Tue, 17 Feb 2004 01:07:22 +0000
(
01:07
+0000)
committer
Richard M. Stallman
<rms@gnu.org>
Tue, 17 Feb 2004 01:07:22 +0000
(
01:07
+0000)
lispref/positions.texi
patch
|
blob
|
history
diff --git
a/lispref/positions.texi
b/lispref/positions.texi
index 1dee0398050546b7ad9b21970af55b075a52d408..100b55d01ddec0b732fdc68af15db96e09d881bc 100644
(file)
--- a/
lispref/positions.texi
+++ b/
lispref/positions.texi
@@
-403,8
+403,7
@@
Here is an example of using @code{count-lines}:
(defun current-line ()
"Return the vertical position of point@dots{}"
(+ (count-lines (window-start) (point))
- (if (= (current-column) 0) 1 0)
- -1))
+ (if (= (current-column) 0) 1 0)))
@end group
@end example
@end defun